<!--%import("filter/delete_menu.xml")-->
<!--%import("js/menu_admin.js")-->

<!--#include("header.html")-->

<!-- 삭제를 위한 임시 form -->
<form id="fo_menu" action="./" method="get">
    <input type="hidden" name="menu_srl" value="" />
</form>

<!-- 목록 -->
<div class="table">
	<table width="100%" border="1" cellspacing="0">
		<caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
		<thead>
			<tr>
				<th scope="col">{$lang->no}</th>
				<th scope="col" >{$lang->title}</th>
				<th scope="col">{$lang->regdate}</th>
				<th scope="col">&nbsp;</th>
			</tr>
		</thead>
		<tbody>
			<!--@foreach($menu_list as $no => $val)-->
			<tr class="row{$cycle_idx}">
				<td>{$no}</td>
				<td >{$val->title}</td>
				<td>{zdate($val->regdate,"Y-m-d")}</td>
				<td>
					<a href="{getUrl('act','dispMenuAdminManagement','menu_srl',$val->menu_srl)}">{$lang->cmd_setup}</a>
					<button type="button" onclick="doDeleteMenu('{$val->menu_srl}');return false;" title="{$lang->cmd_delete}" class="text">{$lang->cmd_delete}</button>
				</td>
			</tr>
			<!--@end-->
		</tbody>
	</table>
</div>
<div class="btnArea">
	<span class="btn"><a href="{getUrl('act','dispMenuAdminInsert','module_srl','')}">{$lang->cmd_make}</a></span>
</div>

<!-- 페이지 네비게이션 -->
<div class="pagination">
    <a href="{getUrl('page','','module_srl','')}" class="direction">&lsaquo; {$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="direction">{$lang->last_page} &rsaquo;</a>
</div>
